<template>
  <el-select v-bind="$attrs" @input="handleInput">
    <el-option
      v-for="item in options"
      :key="item.value"
      :label="item.label"
      :value="item.value"
    >
    </el-option>
  </el-select>
</template>
<script>
export default {
  name: "DriverLicenseSelect",

  data() {
    return {
      options: [
        {
          value: 1,
          label: "A照"
        },
        {
          value: 2,
          label: "B照"
        },
        {
          value: 3,
          label: "C照"
        }
      ]
    };
  },
  methods: {
    handleInput(value) {
      this.$emit("input", value);
    }
  }
};
</script>
